package org.lmind.mis.webapp.service;

import javax.ejb.TransactionAttribute;

import org.lmind.mis.privilege.internal.entity.PrivilegeIdentityEntity;

public class UserRepository extends BaseService implements IUserRepository {

	@TransactionAttribute
	public void test() {
		PrivilegeIdentityEntity entity = new PrivilegeIdentityEntity();
		entity.setName("testId");
		getEntityManager().merge(entity);
	}
	
	public void test2() {
		test();
		test();
	}
}
